package br.com.gip.business.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import br.com.gip.business.CargoBusiness;
import br.com.gip.repository.dao.CargoDao;
import br.com.gip.repository.model.Cargo;

@Service
public class CargoBusinessImpl implements CargoBusiness {

	private static final long serialVersionUID = 9200127883815245459L;

	@Autowired
	private CargoDao cargoDao;
	
	@Override
	public List<Cargo> buscarCargos() {
		return this.cargoDao.findAll();
	}

}
